Crate unsigned_varint
source ·Expand description
Unsigned varint encodes unsigned integers in 7-bit groups. The most significant bit (MSB) in each byte indicates if another byte follows (MSB = 1), or not (MSB = 0).
Modules
- Decode using
futures_io::AsyncRead
types. Encoder
/Decoder
implementations for tokio or asynchronous_codec.- Basic unsigned-varint decoding.
- Basic unsigned-varint encoding.
- Decode using
std::io::Read
types. nom
combinators to decode unsigned varints.